<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>javascript 阶段</title>
    <link rel="stylesheet" href="./style.css">
</head>
<body>
    <!-- 小盒子[450*450] > 小图片[450*450] + 遮罩层[300 * 300]-->
    <!-- 大盒子[542 * 542] > 大图片[800*800]-->

    <div class="wrapper">
        <div class="product">
            <div class="product-left">
                <!-- 小盒子 -->
                <div class="small-box">
                    <!-- 小图片 -->
                    <img src="./images/small.jpg" alt="">
                    <!-- 遮罩层 -->
                    <div class="mask"></div>
                </div>
            </div>

            <div class="product-right">
                <!-- 大盒子 -->
                <div class="big-box">
                    <!-- 大图片 -->
                    <img src="./images/big.jpg" alt="">
                </div>
            </div>
        </div>
    </div>


    <script>
        // 要求:
            // 仿照京东商品详情的放大镜效果.
            // 参考地址: https://item.jd.com/67126728004.html
    </script>
    <script src="./javascript.js"></script>
</body>
</html>